package net.wangds.procengine;

import net.wangds.log.helper.LogHelper;
import net.wangds.procengine.flow.define.FlowDef;
import net.wangds.procengine.flow.define.actor.ActorDef;
import net.wangds.procengine.flow.define.node.FlowNode;
import net.wangds.procengine.flow.define.node.JavaFlowNode;

/**
 * .
 * <p></p>
 *
 * @author 王东石 2020/9/8 10:59.
 */
public class Step0 extends JavaFlowNode {


    public <A extends ActorDef> Step0(FlowDef<A> flow, FlowNode previousNode) {
        super(flow, (c, a)->{
            LogHelper.dev("step0:流程开始.");
            return ProcResEnum.FINISH;
        }, previousNode);
    }
}
